package ooday03.Demo.practice02;

public class SwimTest {
    public static void main(String[] args) {
        Dog dog=new Dog("蔡徐坤",2,"黑");
        dog.swim();
        dog.eat();
        dog.lookHome();
        dog.drink();
        System.out.println();

        Fish fish=new Fish("小红",2,"黄");
        fish.swim();
        fish.eat();
        fish.drink();
    }
}
